package src;

/**
 * Created by dell on 2017/8/7.
 */

public class StaticOuter {

    private static final int i = 1;

    public static class StaticInner {
        public void notStaticPrint() {
            System.out.println("Outer.staticInner.notStaticPrint(), i = " + i);
        }

        public static void staticPrint() {
            System.out.println("Outer.staticInner.staticPrint()");
        }
    }

    public static void main(String[] args) {
        StaticOuter.StaticInner os = new StaticOuter.StaticInner();
        os.notStaticPrint();
        StaticOuter.StaticInner.staticPrint();
    }
}




